package com.sychronized;

public class Money {
    //    创建一个锁对象
    public static Object lock = new Object();
    //    设置一个初始的值
    public static volatile int money = 10000;
}
